﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Abp.Application.Services;
using AVISOutBound.SSOServer.Orders.Dto;

namespace AVISOutBound.SSOServer.Orders
{
    /// <summary>
    /// 订单服务
    /// </summary>
    public interface IOrderAppService: IApplicationService
    {
        /// <summary>
        /// 关闭订单
        /// </summary>
        /// <param name="orderNo">订单号</param>
        /// <returns></returns>
        Task Close(string orderNo);

        /// <summary>
        /// 自动关闭订单
        /// </summary>
        /// <returns></returns>
        Task AutoClose();

        /// <summary>
        /// 更新备注
        /// </summary>
        /// <param name="input">设置备注输入参数</param>
        /// <returns></returns>
        Task UpdateRemark(SetRemarkInput input);
    }
}
